package com.itools.core.ucenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author XUCHANG
 * @since 2021-07-23
 */
@Data
@TableName("itools_application_info")
@ApiModel(value="ApplicationInfo对象", description="")
public class ApplicationInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "系统名称")
    private String appName;

    @ApiModelProperty(value = "系统唯一id")
    private String appInstanceId;

    @ApiModelProperty(value = "系统所有者")
    private String appOwner;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    private String createUserId;

    @ApiModelProperty(value = "最近更新时间")
    private LocalDateTime lastUpdateTime;

    @ApiModelProperty(value = "最近更新人")
    private String lastUpdateUserId;

    @ApiModelProperty(value = "系统编码")
    private String appCode;

    @ApiModelProperty(value = "系统所有者邮箱")
    private String appOwnerEmail;

    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty(value = "类型【内部应用：1；外部应用：2】")
    private Integer appType;

}
